
<div id="maincontent">

<%= render :partial => "shared_common_files/data_area_help_bar" %>

<h2>User > Show</h2>
<!-- h2>View User</h2 -->
  
    <% for name in [:notice, :warning, :message] %>
    <% if flash[name] %>
      <%= "<div class='message-fatal'> #{flash[name]} </div>" %>
    <% end %>
  <% end %>
 

<%= start_form_tag ({:action => ''},{:class => 'appform'}) %>

<fieldset>

	<!-- h3>User '<%= @user.login %>' Details</h3 --> 
	
	<h3>View User</h3>
 
 			<label for="name"><b>Login</b>
				<%= @user.login %>
			</label>

			<label for="name"><b>Email</b>
				<%= @user.email %>
			</label>
			
			<label for="name"><b>First Name</b>
				<%= @user.firstname %>
			</label>

			<label for="name"><b>Last Name</b>
				<%= @user.lastname %>
			</label>
			
			
			<div class="f-submit-wrap">
              <!-- %= link_if_authorized submit_tag('Edit User'), {:action => 'edit_user', :id => @user}  % -->
              <!-- %= link_if_authorized submit_tag('List Users'), {:action => 'list'}  % -->
              <%= link_if_authorized image_tag('/themes/odotclassic/images/btn_edituser.png', :alt => 'Edit'), {:action => 'edit_user', :id => @user}  %>
              <%= link_if_authorized image_tag('/themes/odotclassic/images/btn_listusers.png', :alt => 'List'), {:action => 'list'}  %>
			</div> 

</fieldset>			
 	<%= end_form_tag %>

 
<!--   <ul id="user_role_list">
    <% @user.roles.each do |role| %>
    <%= link_if_authorized role.name, {:controller => 'role', :action => 'show', :id => role}, {:wrap_in => 'li', :title => role.description, :show_text => true} %>
    <% end %>
  </ul> -->
  


<!-- <ul class="actions">
  <%= link_if_authorized 'Edit', {:action => 'edit_user', :id => @user}, {:wrap_in => 'li'} %>
  <%= link_if_authorized 'List', {:action => 'list'}, {:wrap_in => 'li'} %>
</ul> -->

</div> 